//
//  OrderNomalCell.m
//  PigMarket
//
//  Created by 张敬 on 2019/9/10.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import "OrderNomalCell.h"

@implementation OrderNomalCell

#pragma mark - lifecycle methods
- (void)setupUI{
    
    [self addSubview:self.textLabel];
}

- (void)layoutSubviews{
    
    [super layoutSubviews];
    
    _textLab.frame = CGRectMake(15, 0, self.width - 30, self.height);
}

#pragma mark - setter methods
#pragma mark - getter methods

- (UILabel *)textLabel{
    
    if (!_textLab) {
        _textLab = [UILabel makeLabelWithText:@"" textColor:UIColorFromRGB(0x333333) font:mFont(13) textAliment:0];
    }
    return _textLab;
}


@end
